tools/xentop : replace use of deprecated vwprintw
authorChristopher Clark <christopher.w.clark@gmail.com>
Wed, 18 Jul 2018 22:22:17 +0000 (15:22 -0700)
committerHans van Kranenburg <hans.van.kranenburg@mendix.com>
Tue, 18 Jun 2019 07:50:21 +0000 (09:50 +0200)
commitdad166b9acd9a5a0c2fa373941431b67fdedccd1
treeac1d9fc95fe0d2d42d030c92904dfe43bfc5e1f6
parenta6142f2c7acb7eeb4cf822c68e7a18c946db0396
tools/xentop : replace use of deprecated vwprintw

gcc-8.1 complains:

| xentop.c: In function 'print':
| xentop.c:304:4: error: 'vwprintw' is deprecated [-Werror=deprecated-declarations]
|     vwprintw(stdscr, (curses_str_t)fmt, args);
|     ^~~~~~~~

vw_printw (note the underscore) is a non-deprecated alternative.

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Gbp-Pq: Topic misc
Gbp-Pq: Name tools-xentop-replace-use-of-deprecated-vwprintw.patch
tools/xenstat/xentop/xentop.c